home *** CD-ROM | disk | FTP | other *** search
/ Gold Medal Software 3 / Gold Medal Software - Volume 3 (Gold Medal) (1994).iso / os2 / cenv2_19.arj / KEYCODE.CMD < prev    next >
OS/2 REXX Batch file  |  1994-03-08  |  380b  |  8 lines

  1. @echo off
  2. REM ****************************************************
  3. REM *** KeyCode - Print values of characters pressed ***
  4. REM *** ver.1                                        ***
  5. REM ****************************************************
  6. ECHO Press Key to see keyboard value; Press ESCAPE to exit
  7. cenvi do { key = getch(); printf("key=%%04X\n",key) } while(key != '\033')
  8.